LockVol is a Control Panel device that can be used to test software handling of locked volumes, local or remote. With the use of System 7 and File Sharing, LockVol may come in handy for those trying to test their software. LockVol can also be used to test how software will react when run from a locked volume, like a CD. LockVol displays a popup menu containing all volumes in use by your Mac and allows you to change the status of each volume from unlocked, to having a software or hardware lock. Changes made in the Control Panel are immediate and remain intact until you change them back. Local volumes locked with a software lock will remain software locked even after an unmount/mount of that volume.
LockVol works under System 6.0.5 (and up), System 7, and up to System 7.5. No known problems have been reported other than the ones you can create yourself by locking volumes that weren't originally locked.
LockVol is freeware. Permission is granted by the author for personal or electronic distribution as long as no fees or charges are received for it.
LockVol remains the copyright of dEVoN Hubbard.
How to Install it
--------------------
Simply drag it into your System Folder if your using 6.0 or before; or put it in your Control Panels folder if your using 7.0 (or for that matter anywhere you want under System 7).
•--> WARNING <--•
If you are running System 7 and attempt to lock the startup volume while File
Sharing is running, a dialog informs you that the ‘Users & Groups Data File’
should be backed up before locking the startup volume. This warning is necessary as the System software does not like the volume this file is on suddenly becoming locked. This file will become damaged so you should make a copy of it before locking the startup volume if File Sharing is running. The Finder may tell you this file has been damaged if you lock the volume while File Sharing is running. Having a backup of it will save you alot of time.
Version History
--------------
- 1.6 3/29/95
1. The status of volumes is now physically updated on disk. This allows the volume to be mounted/re-mounted with that state persisting. Note that only a 'software' locked volume can be unmounted/mounted and still remain 'software' locked. Making a volume 'hardwared' locked will lock it but the setting won't persist across an unmount/mount. This is due to the fact that when the file system mounts a volume it gets the hardware state of that volume. Since it's not really physically locked, there is no 'hardware' locked status returned. Note that no attempt is made to physically update a remote volume (shared, etc.) as it doesn't belong to us. Changes to remote volumes will remain local.
2. Fixed a gray shading problem in the volume popup on 1-bit deep monitors. The popup would sometimes appear inactive when the window was in fact, active.
3. The TAB key now cycles your through the volumes in the volume popup.
4. There is no extension code anymore and as such the 'Show Startup' check box has been removed.
5. And finally, the code size has become even smaller. This is in part due to design changes and the use of Matthew Axsom's neat cdev class that allowed me to build LockVol with CodeWarrior.
- 1.5
1. Now ignores invalid volumes that appear in the VCB queue. For instance, when used with System 7 Pro (e.g. PowerTalk) the "Mail Enclosures" volume is not included in the volume popup anymore.
2. A little known limitation has been removed. LockVol now supports an unlimited number of volumes (limited by memory and system software limitations). It previously only supported 30 volumes.
3. Internal changes were made to speed up the building of the volume list and processing of selections from the volume popup menu.
4. Code size has become smaller yet.
- 1.4
1. Now recognizes changes in volumes mounted and unmounted while the Control Panel is open. Previously, if you had LockVol open and mounted/unmounted a volume(s), you had to close and re-open the Control Panel for the change in volumes to be recognized.
2. Added small color icons for correct viewing with the Finder by Small Icon.
3. The ‘Show Startup Icon’ check box now dims (with the other controls) when
another window is the active window.
- 1.3.2
1. Corrected a bug that wouldn’t display the popup menu under extreme low-memory conditions.
2. Code size has become smaller yet.
- 1.3.1
1. Optimized code and reduced overall size.
2. Popup menu now ignores characters in volume names that could represent a
command key equivalant (meta characters). Volume names like ‘SE/30’ would be
displayed like ‘SE0’ with a ‘CMD-3’ next to it. This no longer happens.
3. All controls (popup menu, radio buttons) now disable/enable when the cdev
window is activate/inactive. (Big deal… nice cosmetics).
- 1.3
1. Copyright notices and resources changed to reflect ownership of LockVol by the author.
- 1.2.1
1. Corrected a bug that “sometimes” showed the startup icon even if the ‘Show
Startup Icon’ box was not checked in the Control Panel.
- 1.2
1. Added a startup icon that represents the startup volume being locked or
unlocked.
2. Added a ‘Show Startup Icon’ check box to the Control Panel.
3. Corrected a popup display problem that only occured under system 6.0.x.
- 1.1
1. Identical in operation to version 1.0.1 but this version was rebuilt with Think C 5.0 and contains smaller code.
2. The area of the control panel that displayed the About… box has been increased to cover the entire top of the window. Some people didn't know the about was there. Just click.
3. A background mask has been added to the icon behind the word ‘LockVol’ so it will show up better if placed on your desktop.
- 1.0.1
1. Corrected a display problem with the popup menu when ran under System 6. The menu is created at a pre-defined width. Short volume names caused a display error in the popup menu. The pre-defined width was displayed initially then resized (smaller) to the longest volume name. This sometimes left a double image of the popup menu rectangle. Note, that the menu worked fine even though this visual problem existed.
2. Added an arrow cursor to the Control Panel for use under System 6. The
Control Panel now has an arrow cursor instead of a cross hair (plus sign) cursor.
- 1.0
1. The logic that detects if File Sharing is on has been changed to detect in a more accurate manner.
2. All versions information has been changed to reflect this as a final release.
- 1.0b6 (Not released to the public)
1. The System 7.0 warning about File Sharing now only appears if File Sharing is running at the time you try to lock the startup volume.
- 1.0b5
1. Added a warning dialog for System 7.0 users who try to lock their startup
volume. See information above about System 7 warning.
- 1.0b4
1. The status of the startup volume is saved and restored during startup (by INIT code). Only the startup volume status is maintained. The new INIT code patches nothing, and is only memory resident during INIT time.
- 1.0b3
1. About dialog now centers correctly on non color QuickDraw and non 7.0 systems.
- 1.0b2
1. Corrected a bug in dialog handling that caused the Dialog Manager to write to address zero. This wasn't causing crashes or volume mishaps but could have
caused other problems.
2. Also added an About… dialog to the cdev. Triggered by clicking on the LockVol icon in the Control Panel.